// ItemData.h: interface for the CItemData class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_ITEMDATA_H__0D80FAD4_0582_4CC8_ADAA_4825D933A6D1__INCLUDED_)
#define AFX_ITEMDATA_H__0D80FAD4_0582_4CC8_ADAA_4825D933A6D1__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "CopyableMap.h"
#include "CopyableArray.h"
#include "ItemsArray.h"

class CItemData  
{
// Construction
public:
	CItemData();
	virtual ~CItemData();
	CItemData(const CItemData &itemdata);
// Attributes
public:
	CCopyableArray<LVCOLUMN,LVCOLUMN&> m_arrCols;
	CCopyableArray<CCopyableArray<CString,LPCTSTR>,CCopyableArray<CString,LPCTSTR>&> m_data;
// Function
public:
//	CItemData(const CString &strCols, const CString &strData);
//	CItemData(const CCopyableMap<CString,LPCTSTR,LVCOLUMN,LVCOLUMN&> mapCols, const CArray<CArray<CString,LPCTSTR>,CArray<CString,LPCTSTR>&> &arrData);
	const CCopyableArray<LVCOLUMN,LVCOLUMN&> & GetCols();
	int GetItemCount() const;
	int GetSubItemCount() const;
	CString & GetSubItem(const int iItem, const int iSubItem);
	const CString & GetSubItem(const int iItem, const int iSubItem) const;
};

#endif // !defined(AFX_ITEMDATA_H__0D80FAD4_0582_4CC8_ADAA_4825D933A6D1__INCLUDED_)
